import http from "@/http";
export const getProductListApi = (
  params: any
): RES<ITableResult<IProductModel>> => http.get(`/product/list`, { params });

// 商品分类管理  查询所有一级分类及子分类
export const getWithChildrenApi = (): RES<IProductModel> => http.get("/productCategory/list/withChildren")
